package com.kaili.basic.pojo.dto;

import com.kaili.common.dto.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by xxx on 2019-03-07.
 */
@Data
public class ReceivableHandleQueryDto extends PageDto {
    @ApiModelProperty(name = "serialNumber", value = "流水号")
    private String serialNumber;

    @ApiModelProperty(name = "name", value = "名称")
    private String name;

    @ApiModelProperty(name = "categoryId", value = "财务类别id")
    private Long categoryId;

    @ApiModelProperty(name = "payer", value = "付款方")
    private String payer;

    @ApiModelProperty(name = "remittee", value = "收款方")
    private String remittee;

    @ApiModelProperty(name = "associatedNumber", value = "关联单号")
    private String associatedNumber;

    @ApiModelProperty(name = "startTime", value = "开始日期 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(name = "endTime", value = "结束日期 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty(name = "status", value = "状态 1 待审核 2 审核通过 3 审核失败 4 部分付款 5 全部付款")
    private Integer status;

    @ApiModelProperty(name = "receiptsIdentity", value = "收付标识 1 收 2 付")
    private Integer receiptsIdentity;
}
